package demo.loop;

import java.util.Scanner;

/**
 * @Auther: hjy(lc))
 * @Date: 2022/7/20-07-20-14:50
 * @Description：demo.loop
 */
public class Switch_01 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入你的选择：");
        int model = sc.nextInt();
        switch(model){
            case 0:
                System.out.println("hello,欢迎体验2D模式！");
                break;
            case 1:
                System.out.println("hello,欢迎体验3D模式！");
                break;
            case 2:
                System.out.println("谢谢惠顾");
                break;
            default:
                System.out.println("GoodBye!");
        }

    }
}
